package cn.glc.daily.life.config.shiro.token;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @author simon
 * @date 2020/9/20 16:41
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
public class JwtToken extends UsernamePasswordToken {

    private final String token;

    public JwtToken(String token) {
        this.token = token;
    }

    @Override
    public Object getPrincipal() {
        return token;
    }
}
